<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>赋值运算符</title>
    <script>
        num = 10;
        // num = num + 1;  num++
        num = num + 2;  // num += 2
        console.log(num);
        var age = 2;
        age *= 3;
        console.log(age);
        
    </script>
</head>
<body>
    
</body>
</html>